package com.qinglei.recoup.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 *
 * @author dqh
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TableFeatures对象", description="")
public class TableFeatures implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

//    private Integer index;

    private String deviceId;

    private String date;

    private Integer flagSleep;

    private Integer sleepType;

    private Float sleepStTimeDiff;

    private Float sleepEdTimeDiff;

    private Integer sleepLenDiff;

    private Integer leaveBedTimesDiff;

    private Integer leaveBedMeanLenDiff;

    private Float deepSleepRatioDiff;

    //private Integer flagBreath;

        @TableField("AI_diff")
    private Float aiDiff;

        @TableField("HI_diff")
    private Float hiDiff;

        @TableField("AHI_diff")
    private Float ahiDiff;

    @ApiModelProperty(value = "活力指数")
    private Integer vitalityIndex;

    @ApiModelProperty(value = "情绪指数")
    private Integer moraleIndex;

    @ApiModelProperty(value = "跌倒指数")
    private Integer fallIndex;


}
